package net.lsr.demo.menu;

import java.io.Serializable;

/**
 * 
 * @author lsr
 * @version 2013-10-22
 */
public class Menu implements Serializable {

    private static final long serialVersionUID = 2506495076921352651L;

    private Long id;
    private String code;
    private String name;
    private Long parentID;

    private boolean isParent;
    private boolean open;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean getIsParent() {
        return isParent;
    }

    public void setIsParent(boolean isParent) {
        this.isParent = isParent;
    }

    public boolean isOpen() {
        return open;
    }

    public void setOpen(boolean open) {
        this.open = open;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getParentID() {
        return parentID;
    }

    public void setParentID(Long parentID) {
        this.parentID = parentID;
    }

}
